using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Easy.Geo.Kml
{
    public class IconStyle : ColorStyle
    {
        public IconStyle()
            : base()
        {
            this._Icon = new Icon();
        }
        public IconStyle(float scale, int heading)
            : this()
        {
            this._scale = scale;
            this._heading = heading;            
        }
        private float _scale;
        [XmlElement(ElementName = "scale")]
        public float Scale
        {
            get { return _scale; }
            set { _scale = value; }
        }
        private int _heading;
        [XmlElement(ElementName = "heading")]
        public int Heading
        {
            get { return _heading; }
            set { _heading = value; }
        }
        private Icon _Icon;
        [XmlElement(ElementName = "Icon")]
        public Icon Icon
        {
            get { return _Icon; }
            set { _Icon = value; }
        }
    }
}
